package com.zw.langchainai.assistant;

import dev.langchain4j.service.MemoryId;
import dev.langchain4j.service.UserMessage;
import dev.langchain4j.service.spring.AiService;
import dev.langchain4j.service.spring.AiServiceWiringMode;

@AiService(
        wiringMode = AiServiceWiringMode.EXPLICIT,
        chatModel = "qwenChatModel",
        chatMemoryProvider = "xiaoZhiChatMemoryProvider",
        tools = {"appointmentTools"}
)
public interface XiaoZhiAssistant {

    String chat(@MemoryId String memoryId, @UserMessage String message);
}
